<?php
#============================
#	Filename: indexright.qgmod.php
#	Note	: 大图片播放
#	Version : 1.0
#	Author  : bigik
#	Update  : 2008-7-10
#============================
global $FS;
#[图片]
$pic_content = $FS->qgRead("data/indexright_img_".LANGUAGE_ID.".php");
$indexright = array();
if($pic_content)
{
	$pic_array = explode("\n",$pic_content);
	$count = count($pic_array);
	if($count>0)
	{
		$m = 1;
		foreach($pic_array AS $key=>$value)
		{
			$v = explode("|",$value);
			if($v[0])
			{
				$v[0] = str_replace("\n","",$v[0]);
				$v[1] = str_replace("\n","",$v[1]);
				$v[2] = str_replace("\n","",$v[2]);
				$temp_array[$m]["img"] = $v[0];
				$temp_array[$m]["url"] = $v[1];
				$temp_array[$m]["label"] = $v[2];
				$m++;
			}
		}
	}
	$indexright = $temp_array;#[传递变量到自己设置的变量名中]
	unset($temp_array,$pic_content);
	return $indexright;
}
?>